package com.springcloud.gateway.config;

import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.util.TimeZone;

/**
 * <p>  </p>
 *
 * @author mori
 * @since 11/5/2019 1:40 PM
 */
@Component
public class TimeZoneConfig {

    @PostConstruct
    void started() {
        TimeZone.setDefault(TimeZone.getTimeZone("UTC"));
    }
}
